﻿using System;
using System.Windows.Forms;

namespace Sunlight.Dispatch.UI {
    public partial class ParameterSecondByDayFrm : UserControl {
        public event EventHandler<EventArgs> Submitted;

        public void RaiseSubmitted() {
            if(this.Submitted != null)
                this.Submitted.Invoke(this.groupBoxContainer, null);
        }
        public ParameterSecondByDayFrm() {
            InitializeComponent();
            this.Load += ParameterSecondByDayFrm_Load;
        }

        private void ParameterSecondByDayFrm_Load(object sender, EventArgs e) {
            var register = new CommonRegister();
            register.RegisterNumber(new TextBox[] {this.textBoxFrequency});
        }
    }
}
